package com.dmap.knowledge.po;

import java.io.Serializable;

public class Article implements Serializable {
    /**
     * 
     * 表字段 : article.id
     */
    private Long id;

    /**
     * 
     * 表字段 : article.company_id
     */
    private Long companyId;

    /**
     * 
     * 表字段 : article.app_id
     */
    private Long appId;

    /**
     * 公司编号(防止以后一个公司多款app用需要文章库共用)
     * 表字段 : article.company_number
     */
    private String companyNumber;

    /**
     * 栏目id
     * 表字段 : article.column_id
     */
    private Long columnId;

    /**
     * 栏目名称
     * 表字段 : article.column_name
     */
    private String columnName;

    /**
     * app名称
     * 表字段 : article.app_name
     */
    private String appName;

    /**
     * app编号
     * 表字段 : article.app_number
     */
    private String appNumber;

    /**
     * 语言，存为ZH_CN,EN_US 全大写的
     * 表字段 : article.lang
     */
    private String lang;

    /**
     * 标签列表","
     * 表字段 : article.tag_names
     */
    private String tagNames;

    /**
     * 推荐指数，0为不推荐，1-9，为推荐等级
     * 表字段 : article.recommend_index
     */
    private Integer recommendIndex;

    /**
     * 标题
     * 表字段 : article.title
     */
    private String title;

    /**
     * 作者名称(无论是上传者自己编写的还是引用的第三方的都得填写)
     * 表字段 : article.author_name
     */
    private String authorName;

    /**
     * 上传文章者id
     * 表字段 : article.Uploader_id
     */
    private Long uploaderId;

    /**
     * 发布者id
     * 表字段 : article.promulgator_id
     */
    private Long promulgatorId;

    /**
     * 文章封面图
     * 表字段 : article.cover_url
     */
    private String coverUrl;

    /**
     * 文章链接
     * 表字段 : article.article_url
     */
    private String articleUrl;

    /**
     * 摘要
     * 表字段 : article.summary
     */
    private String summary;

    /**
     * 是否发布：1 发布，2 ,未发布 
     * 表字段 : article.publish
     */
    private Integer publish;

    /**
     * 有效到xxxx,超过则无效了 ，默认到2030年
     * 表字段 : article.useful_time
     */
    private Long usefulTime;

    /**
     * 1 未审核，2审核通过，3 审核失败
     * 表字段 : article.audit
     */
    private Integer audit;

    /**
     * 浏览量
     * 表字段 : article.browse_number
     */
    private Integer browseNumber;

    /**
     * 收藏数
     * 表字段 : article.collect_number
     */
    private Integer collectNumber;

    /**
     * 点赞数
     * 表字段 : article.praise_number
     */
    private Integer praiseNumber;

    /**
     * 评论数量
     * 表字段 : article.comment_number
     */
    private Integer commentNumber;

    /**
     * 发布时间
     * 表字段 : article.publish_time
     */
    private Long publishTime;

    /**
     * 创建时间
     * 表字段 : article.create_time
     */
    private Long createTime;

    /**
     * 修改时间
     * 表字段 : article.update_time
     */
    private Long updateTime;

    /**
     * 
     * 表字段 : article.mock_collect_number
     */
    private Integer mockCollectNumber;

    /**
     * 
     * 表字段 : article.mock_browse_number
     */
    private Integer mockBrowseNumber;

    /**
     * 
     * 表字段 : article.mock_praise_number
     */
    private Integer mockPraiseNumber;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table article
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article
     *
     * @mbggenerated
     */
    public Article(Long id, Long companyId, Long appId, String companyNumber, Long columnId, String columnName, String appName, String appNumber, String lang, String tagNames, Integer recommendIndex, String title, String authorName, Long uploaderId, Long promulgatorId, String coverUrl, String articleUrl, String summary, Integer publish, Long usefulTime, Integer audit, Integer browseNumber, Integer collectNumber, Integer praiseNumber, Integer commentNumber, Long publishTime, Long createTime, Long updateTime, Integer mockCollectNumber, Integer mockBrowseNumber, Integer mockPraiseNumber) {
        this.id = id;
        this.companyId = companyId;
        this.appId = appId;
        this.companyNumber = companyNumber;
        this.columnId = columnId;
        this.columnName = columnName;
        this.appName = appName;
        this.appNumber = appNumber;
        this.lang = lang;
        this.tagNames = tagNames;
        this.recommendIndex = recommendIndex;
        this.title = title;
        this.authorName = authorName;
        this.uploaderId = uploaderId;
        this.promulgatorId = promulgatorId;
        this.coverUrl = coverUrl;
        this.articleUrl = articleUrl;
        this.summary = summary;
        this.publish = publish;
        this.usefulTime = usefulTime;
        this.audit = audit;
        this.browseNumber = browseNumber;
        this.collectNumber = collectNumber;
        this.praiseNumber = praiseNumber;
        this.commentNumber = commentNumber;
        this.publishTime = publishTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.mockCollectNumber = mockCollectNumber;
        this.mockBrowseNumber = mockBrowseNumber;
        this.mockPraiseNumber = mockPraiseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article
     *
     * @mbggenerated
     */
    public Article() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.id
     *
     * @return the value of article.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.id
     *
     * @param id the value for article.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.company_id
     *
     * @return the value of article.company_id
     *
     * @mbggenerated
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.company_id
     *
     * @param companyId the value for article.company_id
     *
     * @mbggenerated
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.app_id
     *
     * @return the value of article.app_id
     *
     * @mbggenerated
     */
    public Long getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.app_id
     *
     * @param appId the value for article.app_id
     *
     * @mbggenerated
     */
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.company_number
     *
     * @return the value of article.company_number
     *
     * @mbggenerated
     */
    public String getCompanyNumber() {
        return companyNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.company_number
     *
     * @param companyNumber the value for article.company_number
     *
     * @mbggenerated
     */
    public void setCompanyNumber(String companyNumber) {
        this.companyNumber = companyNumber == null ? null : companyNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.column_id
     *
     * @return the value of article.column_id
     *
     * @mbggenerated
     */
    public Long getColumnId() {
        return columnId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.column_id
     *
     * @param columnId the value for article.column_id
     *
     * @mbggenerated
     */
    public void setColumnId(Long columnId) {
        this.columnId = columnId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.column_name
     *
     * @return the value of article.column_name
     *
     * @mbggenerated
     */
    public String getColumnName() {
        return columnName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.column_name
     *
     * @param columnName the value for article.column_name
     *
     * @mbggenerated
     */
    public void setColumnName(String columnName) {
        this.columnName = columnName == null ? null : columnName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.app_name
     *
     * @return the value of article.app_name
     *
     * @mbggenerated
     */
    public String getAppName() {
        return appName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.app_name
     *
     * @param appName the value for article.app_name
     *
     * @mbggenerated
     */
    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.app_number
     *
     * @return the value of article.app_number
     *
     * @mbggenerated
     */
    public String getAppNumber() {
        return appNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.app_number
     *
     * @param appNumber the value for article.app_number
     *
     * @mbggenerated
     */
    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber == null ? null : appNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.lang
     *
     * @return the value of article.lang
     *
     * @mbggenerated
     */
    public String getLang() {
        return lang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.lang
     *
     * @param lang the value for article.lang
     *
     * @mbggenerated
     */
    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.tag_names
     *
     * @return the value of article.tag_names
     *
     * @mbggenerated
     */
    public String getTagNames() {
        return tagNames;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.tag_names
     *
     * @param tagNames the value for article.tag_names
     *
     * @mbggenerated
     */
    public void setTagNames(String tagNames) {
        this.tagNames = tagNames == null ? null : tagNames.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.recommend_index
     *
     * @return the value of article.recommend_index
     *
     * @mbggenerated
     */
    public Integer getRecommendIndex() {
        return recommendIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.recommend_index
     *
     * @param recommendIndex the value for article.recommend_index
     *
     * @mbggenerated
     */
    public void setRecommendIndex(Integer recommendIndex) {
        this.recommendIndex = recommendIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.title
     *
     * @return the value of article.title
     *
     * @mbggenerated
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.title
     *
     * @param title the value for article.title
     *
     * @mbggenerated
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.author_name
     *
     * @return the value of article.author_name
     *
     * @mbggenerated
     */
    public String getAuthorName() {
        return authorName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.author_name
     *
     * @param authorName the value for article.author_name
     *
     * @mbggenerated
     */
    public void setAuthorName(String authorName) {
        this.authorName = authorName == null ? null : authorName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.Uploader_id
     *
     * @return the value of article.Uploader_id
     *
     * @mbggenerated
     */
    public Long getUploaderId() {
        return uploaderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.Uploader_id
     *
     * @param uploaderId the value for article.Uploader_id
     *
     * @mbggenerated
     */
    public void setUploaderId(Long uploaderId) {
        this.uploaderId = uploaderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.promulgator_id
     *
     * @return the value of article.promulgator_id
     *
     * @mbggenerated
     */
    public Long getPromulgatorId() {
        return promulgatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.promulgator_id
     *
     * @param promulgatorId the value for article.promulgator_id
     *
     * @mbggenerated
     */
    public void setPromulgatorId(Long promulgatorId) {
        this.promulgatorId = promulgatorId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.cover_url
     *
     * @return the value of article.cover_url
     *
     * @mbggenerated
     */
    public String getCoverUrl() {
        return coverUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.cover_url
     *
     * @param coverUrl the value for article.cover_url
     *
     * @mbggenerated
     */
    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl == null ? null : coverUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.article_url
     *
     * @return the value of article.article_url
     *
     * @mbggenerated
     */
    public String getArticleUrl() {
        return articleUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.article_url
     *
     * @param articleUrl the value for article.article_url
     *
     * @mbggenerated
     */
    public void setArticleUrl(String articleUrl) {
        this.articleUrl = articleUrl == null ? null : articleUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.summary
     *
     * @return the value of article.summary
     *
     * @mbggenerated
     */
    public String getSummary() {
        return summary;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.summary
     *
     * @param summary the value for article.summary
     *
     * @mbggenerated
     */
    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.publish
     *
     * @return the value of article.publish
     *
     * @mbggenerated
     */
    public Integer getPublish() {
        return publish;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.publish
     *
     * @param publish the value for article.publish
     *
     * @mbggenerated
     */
    public void setPublish(Integer publish) {
        this.publish = publish;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.useful_time
     *
     * @return the value of article.useful_time
     *
     * @mbggenerated
     */
    public Long getUsefulTime() {
        return usefulTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.useful_time
     *
     * @param usefulTime the value for article.useful_time
     *
     * @mbggenerated
     */
    public void setUsefulTime(Long usefulTime) {
        this.usefulTime = usefulTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.audit
     *
     * @return the value of article.audit
     *
     * @mbggenerated
     */
    public Integer getAudit() {
        return audit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.audit
     *
     * @param audit the value for article.audit
     *
     * @mbggenerated
     */
    public void setAudit(Integer audit) {
        this.audit = audit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.browse_number
     *
     * @return the value of article.browse_number
     *
     * @mbggenerated
     */
    public Integer getBrowseNumber() {
        return browseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.browse_number
     *
     * @param browseNumber the value for article.browse_number
     *
     * @mbggenerated
     */
    public void setBrowseNumber(Integer browseNumber) {
        this.browseNumber = browseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.collect_number
     *
     * @return the value of article.collect_number
     *
     * @mbggenerated
     */
    public Integer getCollectNumber() {
        return collectNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.collect_number
     *
     * @param collectNumber the value for article.collect_number
     *
     * @mbggenerated
     */
    public void setCollectNumber(Integer collectNumber) {
        this.collectNumber = collectNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.praise_number
     *
     * @return the value of article.praise_number
     *
     * @mbggenerated
     */
    public Integer getPraiseNumber() {
        return praiseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.praise_number
     *
     * @param praiseNumber the value for article.praise_number
     *
     * @mbggenerated
     */
    public void setPraiseNumber(Integer praiseNumber) {
        this.praiseNumber = praiseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.comment_number
     *
     * @return the value of article.comment_number
     *
     * @mbggenerated
     */
    public Integer getCommentNumber() {
        return commentNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.comment_number
     *
     * @param commentNumber the value for article.comment_number
     *
     * @mbggenerated
     */
    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.publish_time
     *
     * @return the value of article.publish_time
     *
     * @mbggenerated
     */
    public Long getPublishTime() {
        return publishTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.publish_time
     *
     * @param publishTime the value for article.publish_time
     *
     * @mbggenerated
     */
    public void setPublishTime(Long publishTime) {
        this.publishTime = publishTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.create_time
     *
     * @return the value of article.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.create_time
     *
     * @param createTime the value for article.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.update_time
     *
     * @return the value of article.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.update_time
     *
     * @param updateTime the value for article.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.mock_collect_number
     *
     * @return the value of article.mock_collect_number
     *
     * @mbggenerated
     */
    public Integer getMockCollectNumber() {
        return mockCollectNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.mock_collect_number
     *
     * @param mockCollectNumber the value for article.mock_collect_number
     *
     * @mbggenerated
     */
    public void setMockCollectNumber(Integer mockCollectNumber) {
        this.mockCollectNumber = mockCollectNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.mock_browse_number
     *
     * @return the value of article.mock_browse_number
     *
     * @mbggenerated
     */
    public Integer getMockBrowseNumber() {
        return mockBrowseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.mock_browse_number
     *
     * @param mockBrowseNumber the value for article.mock_browse_number
     *
     * @mbggenerated
     */
    public void setMockBrowseNumber(Integer mockBrowseNumber) {
        this.mockBrowseNumber = mockBrowseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column article.mock_praise_number
     *
     * @return the value of article.mock_praise_number
     *
     * @mbggenerated
     */
    public Integer getMockPraiseNumber() {
        return mockPraiseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column article.mock_praise_number
     *
     * @param mockPraiseNumber the value for article.mock_praise_number
     *
     * @mbggenerated
     */
    public void setMockPraiseNumber(Integer mockPraiseNumber) {
        this.mockPraiseNumber = mockPraiseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table article
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", companyId=").append(companyId);
        sb.append(", appId=").append(appId);
        sb.append(", companyNumber=").append(companyNumber);
        sb.append(", columnId=").append(columnId);
        sb.append(", columnName=").append(columnName);
        sb.append(", appName=").append(appName);
        sb.append(", appNumber=").append(appNumber);
        sb.append(", lang=").append(lang);
        sb.append(", tagNames=").append(tagNames);
        sb.append(", recommendIndex=").append(recommendIndex);
        sb.append(", title=").append(title);
        sb.append(", authorName=").append(authorName);
        sb.append(", uploaderId=").append(uploaderId);
        sb.append(", promulgatorId=").append(promulgatorId);
        sb.append(", coverUrl=").append(coverUrl);
        sb.append(", articleUrl=").append(articleUrl);
        sb.append(", summary=").append(summary);
        sb.append(", publish=").append(publish);
        sb.append(", usefulTime=").append(usefulTime);
        sb.append(", audit=").append(audit);
        sb.append(", browseNumber=").append(browseNumber);
        sb.append(", collectNumber=").append(collectNumber);
        sb.append(", praiseNumber=").append(praiseNumber);
        sb.append(", commentNumber=").append(commentNumber);
        sb.append(", publishTime=").append(publishTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", mockCollectNumber=").append(mockCollectNumber);
        sb.append(", mockBrowseNumber=").append(mockBrowseNumber);
        sb.append(", mockPraiseNumber=").append(mockPraiseNumber);
        sb.append("]");
        return sb.toString();
    }
}